package org.example.wumeng.service;

import org.example.wumeng.pojo.DoctorSpecialty;

import java.util.List;
import java.util.Map;

/**
 * 医家专长分类服务接口
 */
public interface T_doctorSpecialtyService {

    /**
     * 获取所有启用的专长分类
     */
    List<DoctorSpecialty> getActiveSpecialties();

    /**
     * 创建专长分类
     */
    Long createSpecialty(DoctorSpecialty specialty);

    /**
     * 更新专长分类
     */
    void updateSpecialty(Long id, DoctorSpecialty specialty);

    /**
     * 删除专长分类
     */
    void deleteSpecialty(Long id);

    /**
     * 获取专长分类统计
     */
    List<Map<String, Object>> getSpecialtyStatistics();

    List<Map<String, Object>> getDoctorsBySpecialty(String specialtyName);
}